<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block data-th-replace="/adminlte/base::base-head"></th:block>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
	<div class="wrapper">
		<th:block data-th-replace="/adminlte/base::base-navbar"></th:block>
		<th:block data-th-replace="/adminlte/base::base-main-sidebar"></th:block>
		<div class="content-wrapper">
			<th:block data-th-replace="/adminlte/base::base-content-header"></th:block>
			<section class="content">
				<div class="container-fluid">
					<div class="card">
						<div class="card-header">
							<div class="card-title">站点信息</div>
						</div>
						<form class="form-horizontal" action="/sites" method="put">
							<div class="card-body">
								<div class="form-group">
									<label class="col-sm-2 control-label">网站名称</label>
									<div class="col-sm-12">
										<input type="text" name="title" class="form-control"
											placeholder="网站名称" th:value="${siteInfo.title}"
											autofocus="autofocus">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">网站描述</label>
									<div class="col-sm-12">
										<input type="text" name="description" class="form-control"
											placeholder="网站描述" th:value="${siteInfo.description}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">网站关键词</label>
									<div class="col-sm-12">
										<input type="text" name="keywords" class="form-control"
											placeholder="网站关键词" th:value="${siteInfo.keywords}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">ICP备案号</label>
									<div class="col-sm-12">
										<input type="text" name="icp" class="form-control"
											placeholder="ICP备案号" th:value="${siteInfo.icp}">
									</div>
								</div>
								<div class="row justify-content-center">
									<button type="submit" class="btn btn-info"
										style="width: 200px;">保存</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</section>
		</div>
		<th:block data-th-replace="/adminlte/base::base-footer"></th:block>
		<th:block data-th-replace="/adminlte/base::base-control-sidebar"></th:block>
	</div>
</body>
</html>